/* 
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
function checkEmptyTextBox(){
    var count=0;
    if((document.getElementsByName("username")[0].value) === "")
            {alert("Inserire Username");
            return false;}
    else if((document.getElementsByName("password")[0].value) === "")
            {alert("Inserire Password");
            return false;}
    return true;
}

